package com.ssy.jt808.gateway.domain.protocol;

import com.ssy.jt808.gateway.domain.constant.SpecialMessageConstant;
import com.ssy.jt808.protocol.basics.JTMessage;
import io.github.yezhihao.protostar.annotation.Field;
import io.github.yezhihao.protostar.annotation.Message;

/**
 * 语音播报文操作应答
 *
 * @author wezezhou
 * https://gitee.com/yezhihao/jt808-server
 */
@Message(SpecialMessageConstant.语音播报文件操作应答)
public class T0600 extends JTMessage{

  @Field(length=2, desc="应答流水号")
  private int   replySerialNo;
  @Field(length=1, desc="应答结果（0：成功 1：失败）")
  private short result;
  @Field(length=1, desc="操作类型，0：下载 1：删除  2： 播放语音文件")
  private short type;
}